﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Delivery.aspx.cs" Inherits="Maticsoft.Web.Admin.Shopping.Delivery" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111"
        style="border-collapse: collapse">
        <tr>
            <td width="100%" height="20" valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="30">
                            <img height="14" src="../images/book1.gif" width="20">&nbsp;运费管理&nbsp;&gt;&gt;&nbsp;运费管理
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td width="100%" height="1" background="../images/sp_bg.gif">
            </td>
        </tr>
    </table>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="10">
            </td>
        </tr>
    </table>
    <!--  快速转换位置按钮  -->
    <table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#ccd9b9" align="center">
        <tr>
            <td height="26" background="../images/newlinebg3.gif">
                <table width="98%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td align="left">
                            &nbsp;<input type='button' class="coolbg np" onclick="location='EditDelivery.aspx?act=add';"
                                value='添加配送' />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <!--  内容列表   -->
    <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#CFCFCF" align="center"
        style="margin-top: 8px" id="lists">
        <tr bgcolor="#E7E7E7">
            <td height="28" colspan="5" background="../images/tbg.gif" style="padding-left: 10px;">
                ◆ 运费管理 &gt; 运费列表
            </td>
        </tr>
        <tr align="center" bgcolor="#FBFCE2" height="25">
            <td width="6%">
                编号
            </td>
            <td>
                配送方式
            </td>
            <td width="12%">
                价格
            </td>
            <td width="12%">
                状态
            </td>
            <td width="8%">
                操作
            </td>
        </tr>
        <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
                <tr align='center' bgcolor="#FFFFFF" height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';"
                    onmouseout="javascript:this.bgColor='#FFFFFF';">
                    <td>
                        <%#Eval("DeliveryId")%>
                    </td>
                    <td align='left'>
                        <a href="EditDelivery.aspx?act=edit&id=<%#Eval("deliveryId") %>">
                            <%#Eval("DeliveryName")%></a>
                    </td>
                    <td>
                        <%#Eval("Price") %>
                    </td>
                    <td>
                        <a href="Delivery.aspx?act=del&id=<%#Eval("deliveryId") %>"><%#Eval("IsActive").ToString()=="1" ? "启用" : "禁用" %></a>
                    </td>
                    <td>
                        <a href="EditDelivery.aspx?act=edit&id=<%#Eval("deliveryId") %>">修改</a>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
    
</asp:Content>
